<select multiple>
    <option value="red">Red</option>
    <option value="green" selected=(input.isGreenSelected)>Green</option>
    <option value="blue" selected=(input.isBlueSelected)>Blue</option>
</select>